package com.sugar.real.estate.module.business.controller.admin.openedcity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 已开通城市 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OpenedCityRespVO {

    @Schema(description = "城市ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31760")
    @ExcelProperty("城市ID")
    private Long id;

    @Schema(description = "城市名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("城市名称")
    private String name;

    @Schema(description = "城市名称（中文）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("城市名称（中文）")
    private String nameZhCn;

    @Schema(description = "城市名称（英文）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("城市名称（英文）")
    private String nameEnUs;

    @Schema(description = "父级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19179")
    @ExcelProperty("父级ID")
    private Long parentId;

    @Schema(description = "类型（0国内 1国外）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型（0国内 1国外）")
    private Boolean type;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}